import { ICommonDialog } from '@/interfaces/global';
import { FC, useEffect } from 'react';
import { Button, Modal } from 'antd';

interface IArchiveNoDialogProps extends ICommonDialog {
  data?: any;
}

const ArchiveNoDialog: FC<IArchiveNoDialogProps> = (props) => {
  const { visible, onClose } = props;

  const onCancel = () => {
    onClose();
  };

  return (
    <Modal
      destroyOnClose
      title="档号编制-检测规则"
      visible={visible}
      width={900}
      maskClosable={false}
      onCancel={onCancel}
      footer={[
        <Button key="cancel" type="primary">
          取消
        </Button>,
        <Button key="submit" type="primary">
          保存
        </Button>
      ]}
    >
      123
    </Modal>
  );
};

export default ArchiveNoDialog;
